<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
	<xsl:template match="/article">
		<html>
			<head>
				<title>
					<xsl:value-of select="title"/>
				</title>
			</head>
			<body>
				<xsl:apply-templates select="body"/>
			</body>
		</html>
	</xsl:template>
	<!-- From here on it does not work. No idea why yet. -->
	<xsl:template match="//title">
		<h1><xsl:value-of select="."/></h1>
	</xsl:template>
	<xsl:template match="//para">
		<em><xsl:value-of select="."/></em>
	</xsl:template>
	<xsl:template match="//programlisting">
		<pre>
			<xsl:value-of select="."/>
		</pre>
	</xsl:template>
</xsl:stylesheet>

